import request from '@/utils/request'
export default {
  // 根据手机号码发送短信
  getMobile(mobile) {
    return request({
      url: `/edumsm/send/qq`,
      method: 'get',
      params: { mobile: mobile }
    })
  },
  // 用户注册
  submitRegister(registerVo) {
    return request({
      url: `/eduucenter/register/`,
      method: 'post',
      data: registerVo
    })
  },
  submitLogin(loginVo) {
    return request({
      url: `/eduucenter/login/`,
      method: 'post',
      data: loginVo
    })
  },
  getMember() {
    return request({
      url: `/eduucenter/getCurrentMember`,
      method: 'get'
    })
  }
}
